﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jim.K3Cloud;

/// <summary>
/// 获取许可类型
/// </summary>
[Sdk("Kingdee.BOS.WebApi.ServicesStub.LicService.GetLicenseType", "获取许可类型")]
public class K3CloudGetLicenseTypeRequest : ISdkRequest<K3CloudGetLicenseTypeResponse>
{
    /// <summary>
    /// 租户ID
    /// </summary>
    public string TenantId { get; set; }

    public void Validate()
    {
    }
}


public class K3CloudGetLicenseTypeResponse: SdkResponse<K3CloudLicenseType>
{

}


public class K3CloudLicenseType
{ 
    /// <summary>
    /// 授权类型
    /// </summary>
    public int LicenseType { get;set; }
    /// <summary>
    /// 授权类型名称
    /// </summary>
    public string LicenseTypeName { get; set; }
    /// <summary>
    /// 剩余许可证天数
    /// </summary>
    public int RemainingLicenseDays { get; set; }
    /// <summary>
    /// 授权到期日
    /// </summary>
    public string ExpireDate { get; set; }
    /// <summary>
    /// 服务到期日
    /// </summary>
    public string ServiceDate { get; set; }
}
